import com.minghe.Init_StockRepository
import io.quarkus.test.junit.QuarkusTest
import jakarta.inject.Inject
import org.junit.jupiter.api.Test
import java.time.Instant

@QuarkusTest
class Test {

    @Inject
    lateinit var stockRepository : Init_StockRepository

    @Test
    fun test() {
        val stockSumDTO = stockRepository.findSummary(1, "1", Instant.parse("2025-04-04T00:00:00Z"))
        println(stockSumDTO)
    }
    @Test
    fun test2() {
        val stockSumDTO = stockRepository.findSummary(1, "123", Instant.parse("2023-07-01T00:00:00Z"))
        println(stockSumDTO)
    }


}